package com.ruoyi.zyx.domain;

import com.ruoyi.common.core.domain.entity.SysDept;
import com.ruoyi.common.core.domain.entity.ZyxDevice;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 共享对象 zyx_ordershare
 *
 * @author lhs
 * @date 2021-06-10
 */
public class ZyxOrdershare extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 派单表id */
    @Excel(name = "派单表id")
    private Long sendorderid;

    /** userid */
    @Excel(name = "userid")
    private Long userid;

    /** 删除标记 */
    private String delFlag;

    private ZyxDevice zyxDevice;
    private SysDept sysDept;//使用科室
    private String devicetype;//设备类别
    private  String servicestatus;//服务状态
    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setSendorderid(Long sendorderid)
    {
        this.sendorderid = sendorderid;
    }

    public Long getSendorderid()
    {
        return sendorderid;
    }
    public void setUserid(Long userid)
    {
        this.userid = userid;
    }

    public Long getUserid()
    {
        return userid;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("sendorderid", getSendorderid())
            .append("userid", getUserid())
            .append("remark", getRemark())
            .append("delFlag", getDelFlag())
            .toString();
    }

    public SysDept getSysDept() {
        return sysDept;
    }

    public void setSysDept(SysDept sysDept) {
        this.sysDept = sysDept;
    }

    public ZyxDevice getZyxDevice() {
        return zyxDevice;
    }

    public void setZyxDevice(ZyxDevice zyxDevice) {
        this.zyxDevice = zyxDevice;
    }

    public String getDevicetype() {
        return devicetype;
    }

    public void setDevicetype(String devicetype) {
        this.devicetype = devicetype;
    }

    public String getServicestatus() {
        return servicestatus;
    }

    public void setServicestatus(String servicestatus) {
        this.servicestatus = servicestatus;
    }
}
